package com.skyolder.milkbee.repository;

import com.skyolder.milkbee.domain.Present;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.*;

import java.util.List;

/**
 * Spring Data JPA repository for the Present entity.
 */
@SuppressWarnings("unused")
public interface PresentRepository extends JpaRepository<Present,Long> {

	Page<Present> findByRecieverId(Long userId, Pageable pageable);

}
